package service

import (
	"context"
	"mall-portalv2/internal/model"
)

func (s *Service) QueryOmsOrderSetting(ctx context.Context) (model.OmsOrderSetting, error) {

	var (
		result model.OmsOrderSetting
		err    error
	)

	result, err = s.dao.QueryOmsOrderSetting(ctx)
	if err != nil {
		return model.OmsOrderSetting{}, err
	}
	return result, err
}
